#ifndef GlobalMousePath_H
#define GlobalMousePath_H

#include <QObject>

class GlobalMousePath: public QObject
{
    Q_OBJECT
public:    
    GlobalMousePath();
    virtual ~GlobalMousePath();

public slots:
    void setCursorOn();
    void setCursorOff();
    void mousePressed();

signals:
    void mousemove( int win_x, int win_y );

private:
    bool onOff;
    int m_oldx=-1, m_oldy=-1;
};

#endif // GlobalMousePath_H
